xen.git
19 years agoFix DEC instruction decode. Turn into SUB, not OR. :-)
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:14:49 +0000 (12:14 +0000)]
Fix DEC instruction decode. Turn into SUB, not OR. :-)
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoSupport INC/DEC in mmio decoder. Opcodes 0xFE and 0xFF.
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:10:01 +0000 (12:10 +0000)]
Support INC/DEC in mmio decoder. Opcodes 0xFE and 0xFF.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] New paging-assistance interface.
Tim Deegan [Wed, 14 Feb 2007 12:02:20 +0000 (12:02 +0000)]
[XEN] New paging-assistance interface.
Adds paging_* functions, wrapping the existing shadow_* ones,
so that later hardware paging assistance can be hooked in at this level.
Separates p2m maintenance code into its own files.
Adjusts shadow code to comply with the new interfaces.
Changes all callers in arch/x86 to use the new interfaces.

Signed-off-by: Wei Huang <Wei.Huang2@amd.com>
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[LINUX] Call ctrl_alt_del() to trigger a reboot so we benefit from the
Ian Campbell [Tue, 13 Feb 2007 15:32:25 +0000 (15:32 +0000)]
[LINUX] Call ctrl_alt_del() to trigger a reboot so we benefit from the
generic infrastructure for cad_pid etc.

Add a ctrl_alt_del() implemenation to the PV on HVM compatibility
layer since ctrl_alt_del() is not exported on native kernels.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[HVM] Fill in mmio decode gaps for Grp1 immediate opcodes.
kfraser@localhost.localdomain [Fri, 9 Feb 2007 18:19:24 +0000 (18:19 +0000)]
[HVM] Fill in mmio decode gaps for Grp1 immediate opcodes.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoPrint all by default in debug builds.
kfraser@localhost.localdomain [Fri, 9 Feb 2007 17:38:33 +0000 (17:38 +0000)]
Print all by default in debug builds.

19 years ago[HVM] Save/restore: disentangle max_pfn from nr_pages.
Tim Deegan [Fri, 9 Feb 2007 10:48:41 +0000 (10:48 +0000)]
[HVM] Save/restore: disentangle max_pfn from nr_pages.
These have been used interchangeably, which is OK for PV domains but
not for HVM.  This fixes an over-allocation by 256MB when restoring
HVM guests that have more than 4GB of RAM.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoAdd missing Makefile in x86_64/compat so that it builds on x86_64.
Alastair Tse [Fri, 9 Feb 2007 10:21:12 +0000 (10:21 +0000)]
Add missing Makefile in x86_64/compat so that it builds on x86_64.

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years agoFix non-x86 build.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 21:36:35 +0000 (21:36 +0000)]
Fix non-x86 build.

19 years agoFix x86/64 build.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 21:30:29 +0000 (21:30 +0000)]
Fix x86/64 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agox86: hide assembly labels
Keir Fraser [Thu, 8 Feb 2007 18:18:56 +0000 (18:18 +0000)]
x86: hide assembly labels

Prevent the fault recovery labels to clutter the symbol table and the
disassembly.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[HVM][SVM] Do not advertise FFXSR feature.
Keir Fraser [Thu, 8 Feb 2007 18:01:42 +0000 (18:01 +0000)]
[HVM][SVM] Do not advertise FFXSR feature.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoUse printk log-level limiting even during Xen boot.
Keir Fraser [Thu, 8 Feb 2007 17:46:14 +0000 (17:46 +0000)]
Use printk log-level limiting even during Xen boot.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agoSmall cleanups to PV-on-HVM support code.
Keir Fraser [Thu, 8 Feb 2007 17:38:30 +0000 (17:38 +0000)]
Small cleanups to PV-on-HVM support code.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMerge with xen-ia64-unstable.hg.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 17:27:30 +0000 (17:27 +0000)]
Merge with xen-ia64-unstable.hg.

19 years agoRemove unnecessarily modified a.out.h.
Keir Fraser [Thu, 8 Feb 2007 17:21:04 +0000 (17:21 +0000)]
Remove unnecessarily modified a.out.h.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agoMove skb_pull_rcsum() to its usual place in skbuff.c
Keir Fraser [Thu, 8 Feb 2007 17:19:49 +0000 (17:19 +0000)]
Move skb_pull_rcsum() to its usual place in skbuff.c

19 years agoFix a typo in console_steal().
Keir Fraser [Thu, 8 Feb 2007 17:15:38 +0000 (17:15 +0000)]
Fix a typo in console_steal().
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
19 years agoFix xen-detect build.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 17:07:36 +0000 (17:07 +0000)]
Fix xen-detect build.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdd example xen-detect.c code for detecting application execution in
Keir Fraser [Thu, 8 Feb 2007 17:04:26 +0000 (17:04 +0000)]
Add example xen-detect.c code for detecting application execution in
Xen PV or HVM contexts, using the Xen CPUID extensions.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix localtime setting for PV domains.
Ewan Mellor [Thu, 8 Feb 2007 16:52:05 +0000 (16:52 +0000)]
Fix localtime setting for PV domains.

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
19 years ago[HVM] Save/restore: don't try to set the console ring MFN
Tim Deegan [Thu, 8 Feb 2007 15:00:33 +0000 (15:00 +0000)]
[HVM] Save/restore: don't try to set the console ring MFN
in a HVM restore.  In particular, don't print an uninitialized stack
variable, which causes XMLRPC exceptions in xend.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoMerge
Tim Deegan [Thu, 8 Feb 2007 13:43:19 +0000 (13:43 +0000)]
Merge

19 years ago[HVM] Save/restore: save pmtimer count register
Tim Deegan [Thu, 8 Feb 2007 13:42:49 +0000 (13:42 +0000)]
[HVM] Save/restore: save pmtimer count register
Also remove the repeating timer from pmtimer.c because it doesn't do anything.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[XEN] Fix typos in comment describing 32on64 memory layout
Ian Campbell [Thu, 8 Feb 2007 12:33:32 +0000 (12:33 +0000)]
[XEN] Fix typos in comment describing 32on64 memory layout

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] kexec: add compatability shim for kexec in 32on64 mode.
Ian Campbell [Thu, 8 Feb 2007 11:03:32 +0000 (11:03 +0000)]
[XEN] kexec: add compatability shim for kexec in 32on64 mode.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] kexec: Remove asm/kexec.h. Move the single inline function into
Ian Campbell [Thu, 8 Feb 2007 11:03:29 +0000 (11:03 +0000)]
[XEN] kexec: Remove asm/kexec.h. Move the single inline function into
arch specific machine_kexec.c with the other arch specific kexec
functions.

IA64 already had a stub in both kexec.h and machine_kexec.c.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] When removing pages, drop shadow refs before complaining about refcount.
Tim Deegan [Thu, 8 Feb 2007 10:44:53 +0000 (10:44 +0000)]
[XEN] When removing pages, drop shadow refs before complaining about refcount.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[blktap] Allow HVM booting from blktap device(s)
wim@xen-wim.site [Thu, 8 Feb 2007 00:53:01 +0000 (16:53 -0800)]
[blktap] Allow HVM booting from blktap device(s)

Signed-off-by: wim colgate <wim@xensource.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Wed, 7 Feb 2007 17:46:18 +0000 (10:46 -0700)]
merge with xen-unstable.hg

19 years ago[HVM] Save/restore: don't try to save the MMIO memory-hole at 4GB.
Tim Deegan [Wed, 7 Feb 2007 17:29:52 +0000 (17:29 +0000)]
[HVM] Save/restore: don't try to save the MMIO memory-hole at 4GB.
Also remove two integer arrays that were set to a[i] == i.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[XEND] Open save/restore files with O_LARGEFILE if possible
Tim Deegan [Wed, 7 Feb 2007 17:29:21 +0000 (17:29 +0000)]
[XEND] Open save/restore files with O_LARGEFILE if possible
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[IA64] Clean up error messages from lookup_domain_mpa()
awilliam@xenbuild2.aw [Wed, 7 Feb 2007 17:14:41 +0000 (10:14 -0700)]
[IA64] Clean up error messages from lookup_domain_mpa()

Guest I/O port accesses aren't very interesting, so reduce their log level

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agoImprove hotplug script error reporting via xenstore.
kfraser@localhost.localdomain [Wed, 7 Feb 2007 16:22:55 +0000 (16:22 +0000)]
Improve hotplug script error reporting via xenstore.

Use this to detect and report up-front in vif-bridge script whether
the bridge device exists or not.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 years agoDom0 VNC server should not drop any of teh 8 supported mouse button
kfraser@localhost.localdomain [Wed, 7 Feb 2007 16:20:28 +0000 (16:20 +0000)]
Dom0 VNC server should not drop any of teh 8 supported mouse button
event types.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 years agopvfb: Split mouse and keyboard into separate devices.
kfraser@localhost.localdomain [Wed, 7 Feb 2007 16:12:40 +0000 (16:12 +0000)]
pvfb: Split mouse and keyboard into separate devices.

This patch creates two separate input devices for keyboard and mouse
events.  The reason for this is to separate them in the linux input
layer and allow them being routed different ways.

Use case:  Configure the X-Server like this to get the mouse
events directly from the linux input layer, which has the major
advantage that absolute coordinates work correctly:

Section "InputDevice"
  Driver       "evdev"
  Identifier   "Mouse"
  Option       "Device" "/dev/input/event<nr>"
EndSection

This makes the keyboard stop working though in case mouse and
keyboard events are coming through the same input device, at least
with older Xorg (6.9) versions.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
Assign fake pci product identifiers down from 0xffff. This may help
clarify that the devices are not actually PCI. Also it reduces
probability of accidental conflict if further real PCI assignments
occur in future (0x0002, 0x0003, ... would be obvious next identifiers
to allocate).

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agohvm: Add PCI subsystem ID to emulated devices.
kfraser@localhost.localdomain [Wed, 7 Feb 2007 16:08:47 +0000 (16:08 +0000)]
hvm: Add PCI subsystem ID to emulated devices.

This patch adds the PCI Subsystem ID 5853:0001 to the virtual
devices emulated by qemu (ide, nic, vga).

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years ago[XEN] Remove bogus assertion in shadow emulation path
Tim Deegan [Wed, 7 Feb 2007 12:58:07 +0000 (12:58 +0000)]
[XEN] Remove bogus assertion in shadow emulation path
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] Save/restore: dynamically calculate the size of the save buffer
Tim Deegan [Wed, 7 Feb 2007 12:41:46 +0000 (12:41 +0000)]
[HVM] Save/restore: dynamically calculate the size of the save buffer
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] Save/restore: move save/restore routines out of intercept.c
Tim Deegan [Wed, 7 Feb 2007 10:21:15 +0000 (10:21 +0000)]
[HVM] Save/restore: move save/restore routines out of intercept.c
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoRevert 13805: losetup -r is not portable
Tim Deegan [Wed, 7 Feb 2007 12:25:18 +0000 (12:25 +0000)]
Revert 13805: losetup -r is not portable
which breaks CD support on Debian Sarge, FC4, probably others.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agolinux: Fix softlockup interaction with noidlehz.
kfraser@localhost.localdomain [Wed, 7 Feb 2007 02:16:56 +0000 (02:16 +0000)]
linux: Fix softlockup interaction with noidlehz.

next_timer_interrupt() must check for when timer ISR is due to wake up
the softlockup thread.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoUpdate .hgignore list
Keir Fraser [Wed, 7 Feb 2007 00:51:26 +0000 (00:51 +0000)]
Update .hgignore list

19 years agolinux: Zap /proc/interrupts count when a dynamic IRQ is unbound.
Keir Fraser [Wed, 7 Feb 2007 00:39:48 +0000 (00:39 +0000)]
linux: Zap /proc/interrupts count when a dynamic IRQ is unbound.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agolinux/i386: Improve critical region handling code
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:36:53 +0000 (23:36 +0000)]
linux/i386: Improve critical region handling code

- use symbolics instead of raw numbers (going to help the 2.6.20 port,
as those numbers change there)
- fold instructions where possible
- move fixup table into .rodata

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agohvm: vcpu reset support for x86 INIT IPI, needed for CPU hotplug.
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:14:21 +0000 (23:14 +0000)]
hvm: vcpu reset support for x86 INIT IPI, needed for CPU hotplug.
Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years agominios: Fix netfront for ia64.
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:12:59 +0000 (23:12 +0000)]
minios: Fix netfront for ia64.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
19 years agoFix up xentrace record extraction in xentrace_format for 64-bit
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:10:05 +0000 (23:10 +0000)]
Fix up xentrace record extraction in xentrace_format for 64-bit
architectures.
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>
19 years ago[TPM] Set tcpa calls in the rombios and other fixes.
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:01:35 +0000 (23:01 +0000)]
[TPM] Set tcpa calls in the rombios and other fixes.

This patch places some tcpa calls into the rombios that had previously
not applied anymore or were not set.
Force the reads from MMIO memory locations that the compiler otherwise
optimizes away (-O2) if there was an immediate write to the same
memory location before.
Use #define'd constants wherever possible.
Fix all remaining compiler warnings.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years ago[TPM] TIS dm suspend code fix
kfraser@localhost.localdomain [Tue, 6 Feb 2007 22:59:35 +0000 (22:59 +0000)]
[TPM] TIS dm suspend code fix

This fixes a bug in the TPM TIS device model's state suspend code and
adds some casts to variables to avoid compiler warnings.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years ago[IA64] Don't assume legacy com2
awilliam@xenbuild2.aw [Tue, 6 Feb 2007 22:20:26 +0000 (15:20 -0700)]
[IA64] Don't assume legacy com2

If com1 isn't at a legacy I/O port address, don't assume legacy com2 exists.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] Don't complain about PAL_LOGICAL_TO_PHYSICAL
awilliam@xenbuild2.aw [Tue, 6 Feb 2007 22:08:09 +0000 (15:08 -0700)]
[IA64] Don't complain about PAL_LOGICAL_TO_PHYSICAL

It's optional

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] Fix wrong arg to vhpt_enabled() in vmx_hpw_miss()
awilliam@xenbuild2.aw [Tue, 6 Feb 2007 16:28:07 +0000 (09:28 -0700)]
[IA64] Fix wrong arg to vhpt_enabled() in vmx_hpw_miss()

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
19 years ago[IA64] Follow to allow PV-on-HVM callback irq to be identified by PCI device.
awilliam@xenbuild2.aw [Tue, 6 Feb 2007 16:26:25 +0000 (09:26 -0700)]
[IA64] Follow to allow PV-on-HVM callback irq to be identified by PCI device.

Also delete IA64 specific spec concerned with IA64_CALLBACK_IRQ_RID.

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
19 years agoFix xm sched-credit when given an invalid domain name.
Ewan Mellor [Tue, 6 Feb 2007 16:05:29 +0000 (16:05 +0000)]
Fix xm sched-credit when given an invalid domain name.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years agoFix XendLogging to work on Python 2.4.0 and 2.4.1 (the logging library interface
Ewan Mellor [Tue, 6 Feb 2007 15:37:11 +0000 (15:37 +0000)]
Fix XendLogging to work on Python 2.4.0 and 2.4.1 (the logging library interface
changed with 2.4.2, not 2.4.0).

Signed-off-by: Qing He <qing.he@intel.com>
19 years agoPass the -r flag to losetup for read-only devices.
Ewan Mellor [Tue, 6 Feb 2007 15:35:18 +0000 (15:35 +0000)]
Pass the -r flag to losetup for read-only devices.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
19 years ago[IA64] Fix for compiling PV-on-HVM driver on IPF
awilliam@xenbuild2.aw [Mon, 5 Feb 2007 22:41:58 +0000 (15:41 -0700)]
[IA64] Fix for compiling PV-on-HVM driver on IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] Turn on dcr.dm inside XEN
awilliam@xenbuild2.aw [Mon, 5 Feb 2007 22:23:39 +0000 (15:23 -0700)]
[IA64] Turn on dcr.dm inside XEN

For xeno, dcr.dm is alway set to 1,
For VTI-domain,
    if guest cpl > 0, dcr.dm is set to 1,
    if guest cpl == 0, dcr.dm is set to 0,
This is because Window ld.s on tr mapped page.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] Fix tlbflush_clock
awilliam@xenbuild2.aw [Mon, 5 Feb 2007 21:24:27 +0000 (14:24 -0700)]
[IA64] Fix tlbflush_clock

arch_vcpu.tlbflush_timestamp is unused and
new_tlbflush_clock_period() flushes vhpt unnecessarily.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
19 years ago[IA64] Additional HVM hypercall fix
awilliam@xenbuild2.aw [Mon, 5 Feb 2007 20:55:47 +0000 (13:55 -0700)]
[IA64] Additional HVM hypercall fix

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 19:24:53 +0000 (12:24 -0700)]
merge with xen-unstable.hg

19 years ago[IA64] Remove verbosity from xen_pm_power_off
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 19:18:48 +0000 (12:18 -0700)]
[IA64] Remove verbosity from xen_pm_power_off

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] Xen build warning fixes
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 19:06:59 +0000 (12:06 -0700)]
[IA64] Xen build warning fixes

Missing include and remove an sprintf

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years ago[IA64] Fix usage of 14 bit immediate value of IA64_RBS_OFFSET
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 18:41:25 +0000 (11:41 -0700)]
[IA64] Fix usage of 14 bit immediate value of IA64_RBS_OFFSET

Limit is exceeded w/ 16k page size

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] Fix xencons_early_setup build warning
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 18:37:48 +0000 (11:37 -0700)]
[IA64] Fix xencons_early_setup build warning

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
19 years ago[IA64] Fix PAL_HALT for paravirtualized domains
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 18:36:12 +0000 (11:36 -0700)]
[IA64] Fix PAL_HALT for paravirtualized domains

machine_halt() stops the vcpus, but no longer destroys the domain.
This should be more in-line with the behavior on native hardware.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
19 years ago[IA64] Bug fix new_tlbflush_clock_period()
awilliam@xenbuild2.aw [Sun, 4 Feb 2007 18:28:54 +0000 (11:28 -0700)]
[IA64] Bug fix new_tlbflush_clock_period()

__vhpt_flush() might be called from new_tlbflush_clock_period()
even if the vcpu doesn't have the per-vcpu-vhpt.
It erases 64KB memory content that starts from machine address 0.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
19 years agoHide RDTSCP feature flag from PV guests.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 16:07:13 +0000 (16:07 +0000)]
Hide RDTSCP feature flag from PV guests.

Linux 2.6.19 (x86-64) makes use of this feature if available, but Xen
(validly) fails the attempt to write the respective MSR. Hence the
feature must be hidden from PV guests.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agolinux: Allow xenbus_strstate() to be used from modules.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 16:04:11 +0000 (16:04 +0000)]
linux: Allow xenbus_strstate() to be used from modules.

The function is referenced by a number of DPRINTK()-s. Also, properly
const-ify it.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agominios: Fix bug in xenbus implementation.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:55:56 +0000 (15:55 +0000)]
minios: Fix bug in xenbus implementation.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix cross-compile: ia64 build on x86.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:54:42 +0000 (15:54 +0000)]
Fix cross-compile: ia64 build on x86.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
19 years agolinux: compilation fix of linux/drivers/oprofile/oprof.c
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:52:30 +0000 (15:52 +0000)]
linux: compilation fix of linux/drivers/oprofile/oprof.c
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
19 years agoNew domain builder arch_setup hook clean up.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:50:27 +0000 (15:50 +0000)]
New domain builder arch_setup hook clean up.
 arch_setup_early  -> arch_setup_meminit
 arch_setup_middle -> arch_setup_bootearly
 arch_setup_late   -> arch_setup_bootlate

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
19 years agolibxc: Domain builder must align initial virtual mapping to 4MB
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:41:45 +0000 (15:41 +0000)]
libxc: Domain builder must align initial virtual mapping to 4MB
boundaries.
From: Gerd Hoffmann <kraxel@suse.de>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agominios: Fix ret_from_exception routine. Stack consistency is now preserved.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:30:49 +0000 (15:30 +0000)]
minios: Fix ret_from_exception routine. Stack consistency is now preserved.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
19 years agoAdded default for the vcpus_params key.
Ewan Mellor [Fri, 2 Feb 2007 14:32:48 +0000 (14:32 +0000)]
Added default for the vcpus_params key.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAdded host.dmesg method.
Ewan Mellor [Fri, 2 Feb 2007 10:25:17 +0000 (10:25 +0000)]
Added host.dmesg method.

Also, fixed all of the host methods, which had been broken by the introduction
of the host_metrics class.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoRemove VM_power_state value ShuttingDown. This should be indicated with
Ewan Mellor [Fri, 2 Feb 2007 10:07:58 +0000 (10:07 +0000)]
Remove VM_power_state value ShuttingDown.  This should be indicated with
an in-progress task, when known.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoRemove some obsolete constants (XEN_API_DRIVER_TYPE, XEN_API_BOOT_TYPE).
Ewan Mellor [Fri, 2 Feb 2007 10:03:21 +0000 (10:03 +0000)]
Remove some obsolete constants (XEN_API_DRIVER_TYPE, XEN_API_BOOT_TYPE).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[IA64] Fix compile warnings in xenentry.S
awilliam@xenbuild2.aw [Thu, 1 Feb 2007 20:54:26 +0000 (13:54 -0700)]
[IA64] Fix compile warnings in xenentry.S

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
19 years ago[IA64] Optimize VTI domain hypercall path
awilliam@xenbuild2.aw [Thu, 1 Feb 2007 19:53:34 +0000 (12:53 -0700)]
[IA64] Optimize VTI domain hypercall path

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years agoImproved the example to show creation of a VNC console, and the difference
Ewan Mellor [Thu, 1 Feb 2007 19:02:55 +0000 (19:02 +0000)]
Improved the example to show creation of a VNC console, and the difference
between HVM and PV domains.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoAdded support for maps inside structs, so that we can send the HVM boot params
Ewan Mellor [Thu, 1 Feb 2007 19:02:13 +0000 (19:02 +0000)]
Added support for maps inside structs, so that we can send the HVM boot params
and VCPU params.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoMake the string->string map and int->float map allocation functions set the
Ewan Mellor [Thu, 1 Feb 2007 19:00:17 +0000 (19:00 +0000)]
Make the string->string map and int->float map allocation functions set the
map size on allocation.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoClean up some cruft.
Ewan Mellor [Thu, 1 Feb 2007 18:45:50 +0000 (18:45 +0000)]
Clean up some cruft.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoTreat the empty string as an absent UUID, not an invalid one. Fix to_sxp
Ewan Mellor [Thu, 1 Feb 2007 18:15:36 +0000 (18:15 +0000)]
Treat the empty string as an absent UUID, not an invalid one.  Fix to_sxp
wrt dictionaries.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoReturn the stored vcpus_params if the domain is not running.
Ewan Mellor [Thu, 1 Feb 2007 18:14:40 +0000 (18:14 +0000)]
Return the stored vcpus_params if the domain is not running.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix xen-x86_32 defconfig to includean option needed for PAE builds.
kaf24@firebug.cl.cam.ac.uk [Thu, 1 Feb 2007 17:52:08 +0000 (17:52 +0000)]
Fix xen-x86_32 defconfig to includean option needed for PAE builds.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agomerge
Ian Campbell [Thu, 1 Feb 2007 16:55:45 +0000 (16:55 +0000)]
merge

19 years agoFix Solaris build - use $(MAKE) not make.
john.levon@sun.com [Thu, 1 Feb 2007 16:41:36 +0000 (08:41 -0800)]
Fix Solaris build - use $(MAKE) not make.

Signed-off-by: John Levon <john.levon@sun.com>
19 years ago[XEN] Extend the range returned by KEXEC_RANGE_MA_XEN to cover the
Ian Campbell [Thu, 1 Feb 2007 16:07:22 +0000 (16:07 +0000)]
[XEN] Extend the range returned by KEXEC_RANGE_MA_XEN to cover the
heap as well as code+data. This makes kdump work again after
13546:d86a96ca47a3

Also fix sizeof_note to correctly calculate the length of the name
field.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years agoFix SDL option for HVM domains.
Ewan Mellor [Thu, 1 Feb 2007 15:44:00 +0000 (15:44 +0000)]
Fix SDL option for HVM domains.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix handling of HVM boot.
Ewan Mellor [Thu, 1 Feb 2007 15:32:16 +0000 (15:32 +0000)]
Fix handling of HVM boot.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix merge conflict between new HVM console handling and new HVM boot handling.
Ewan Mellor [Thu, 1 Feb 2007 15:31:34 +0000 (15:31 +0000)]
Fix merge conflict between new HVM console handling and new HVM boot handling.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix HVM save/restore wrt console handling.
Ewan Mellor [Thu, 1 Feb 2007 15:30:22 +0000 (15:30 +0000)]
Fix HVM save/restore wrt console handling.

From Tim Deegan <Tim.Deegan@xensource.com>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoMerge
Tim Deegan [Thu, 1 Feb 2007 15:03:55 +0000 (15:03 +0000)]
Merge

19 years ago[PYGRUB] Invoke pygrub with TERM=vt100
Tim Deegan [Thu, 1 Feb 2007 15:03:37 +0000 (15:03 +0000)]
[PYGRUB] Invoke pygrub with TERM=vt100
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoUse the new xen-python-path to set PYTHONPATH, rather than trying to do it in
Ewan Mellor [Thu, 1 Feb 2007 14:41:58 +0000 (14:41 +0000)]
Use the new xen-python-path to set PYTHONPATH, rather than trying to do it in
XmTestLib.__init__ (and getting it wrong).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoMerge
Tim Deegan [Thu, 1 Feb 2007 13:15:03 +0000 (13:15 +0000)]
Merge